package com.gzhryc.jdbc.annotaion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.gzhryc.jdbc.enums.DateBranchTableType;

/**
 * 按时间分表
 * @author zhanghao
 *
 */
@Inherited
@Target(value=ElementType.TYPE)
@Retention(value=RetentionPolicy.RUNTIME)
public @interface DateBranchTable {

	public abstract DateBranchTableType type() default DateBranchTableType.quarter;
}
